<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<%	
response.setHeader("Cache-Control","no-store"); // HTTP 1.1 
response.setHeader("Pragma","no-cache"); //HTTP 1.0 
response.setHeader("Expires","0");
response.setDateHeader ("Expires", -1); 
%>
</head>
<body>
<%@ page import="java.sql.*,wildlife.*" %>
<%
Connect c=new Connect();
Connect c1=new Connect();
String username=session.getAttribute("username").toString();
ResultSet rs=c.getResult("select * from jobs where username='"+username+"'");
while(rs.next()){
	int jobid=rs.getInt("jobid");
	out.println("<br>"+jobid);
ResultSet rs1=c.getResult("select * from jobappliers where jobid='"+jobid+"'");
while(rs1.next()){
	String link="/wildlife/resumes/"+jobid+"/"+rs1.getString("applier")+".pdf";
	%>
	<a href="<%= link %>"><%= rs1.getString("applier") %>.pdf</a>

<%	
}
}

%>
</body>
</html>